package com.arpa.wms.domain.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @author: Allen chen
 * @Date 2020/8/17
 * @Description:
 */
@Data
@ApiModel(value="商品类别对象", description="")
public class TreeNodeVO implements Serializable {

    @ApiModelProperty(value = "全局code")
    private String code;
    @ApiModelProperty(value = "名称")
    private String name;
    @ApiModelProperty(value = "等级")
    private Integer level;

    @ApiModelProperty(value = "排序")
    private Integer sort;

    @ApiModelProperty(value = "编号")
    private String typeCode;
   /* @ApiModelProperty(value = "")
    private String selected;
    @ApiModelProperty(value = "")
    private String disabled;*/
    @ApiModelProperty(value = "上级code")
    private String parentCode;
    @ApiModelProperty(value = "是否展开")
    private Boolean spread=true;
    @ApiModelProperty(value = "子节点列表")
    private List<TreeNodeVO> children;

}
